package com.luming.ethtran.service;

import com.luming.ethtran.domain.EthData;
import com.luming.ethtran.domain.Result;

/**
 * @Author Luming
 * @Date 2024/9/2 15:13
 * @Description:
 */
public interface IEthDataService {
    Result add(EthData ethData);
    
    Result delete(Integer id);
    
    Result update(EthData ethData);
    
    Result select(Integer id);
    
    Result selectList(EthData ethData, int pageNum, int pageSize);
    
    Result selectSender(String sender);
    
    Result selectReceiver(String receiver);
    
    Result countBySenders(String r1, String r2, String r3, String r4);
    
    Result countByReceiver(String r1, String r2, String r3, String r4);
    
    Result getCostDistribution();
}
